<?php
namespace app\admin\service\interface;
interface CategoryService{
    public function add(string $name,int $model_id,int $pid=0);
    public function edit(int $id,string $name,int $model_id,int $pid=0);
    public function delete(int $id);
    public function list();
}